package com.sczmgk.hotline.entity;

import com.sczmgk.hotline.annotation.Column;
import com.sczmgk.hotline.annotation.ID;
import com.sczmgk.hotline.annotation.TableName;
import com.sczmgk.hotline.annotation.Where;
import com.sczmgk.hotline.db.base.DBHelper;

/**
 * Created by Administrator on 2017/12/1.
 */
@TableName(DBHelper.INDICATOR_TITLE_TABLE)
public class IndicatorHomeInfo {

    @Column(DBHelper.INDICATOR_TITLE)
    public String title;

    @Column(DBHelper.INDICATOR_TYPE)
    public int typeid;

    @Where(isQuery = true)
    @Column(DBHelper.INDICATOR_ID)
    public int articleid ;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    @ID(autoIncrement = true)
    @Column(DBHelper.TABLE_ID)
    public int id;
}
